/*
  uboot 使用
  解压   tar -xjf u-boot-1.1.6.tar.bz2
         cd u-boot-1.1.6
  打补丁 patch -p1 < ../u-boot-1.1.6_jz2440.patch
  配置 make 100ask24x0_config
  编译 make

  SDRAM 64M  0x400 0000 
  顶端预留 512K 给UBoot使用 0x8 0000
  0x400 0000 - 0x8 0000 = 0x3F8 0000
*/


/*
  u-boot-2012.04.01.tar.bz2 的编译，没成功！
  https://blog.csdn.net/daha1314/article/details/84632082
  https://blog.csdn.net/zj82448191/article/details/108115848
*/

/*

  arm-linux-ld -Bstatic -T /root/jz2440/uboot/u-boot-1.1.6/board/100ask24x0/u-boot.lds -Ttext 0x33F80000  $UNDEF_SYM cpu/arm920t/start.o \
                --start-group lib_generic/libgeneric.a 
                              board/100ask24x0/lib100ask24x0.a 
                              cpu/arm920t/libarm920t.a 
                              cpu/arm920t/s3c24x0/libs3c24x0.a 
                              lib_arm/libarm.a 
                              fs/cramfs/libcramfs.a 
                              fs/fat/libfat.a 
                              fs/fdos/libfdos.a 
                              fs/jffs2/libjffs2.a 
                              fs/reiserfs/libreiserfs.a 
                              fs/ext2/libext2fs.a 
                              net/libnet.a disk/libdisk.a 
                              rtc/librtc.a 
                              dtt/libdtt.a 
                              drivers/libdrivers.a 
                              drivers/nand/libnand.a 
                              drivers/nand_legacy/libnand_legacy.a 
                              drivers/usb/libusb.a 
                              drivers/sk98lin/libsk98lin.a 
                              common/libcommon.a 
                  --end-group  \
                -Map u-boot.map -o u-boot
*/

/*
 Makefile 文件分析, 注意这里应该用 Makefile 语法，而不是 shell 语法
origin
  https://blog.csdn.net/xiaoting451292510/article/details/88972004

@echo
  https://blog.csdn.net/linuxweiyh/article/details/84673489

CURDIR
  http://blog.sina.com.cn/s/blog_89fa41ef0100u09h.html

$(@:_config=)
  https://blog.csdn.net/u012351051/article/details/78939377

 mkconfig 分析解析
  https://blog.csdn.net/zjy900507/article/details/65444067

  uboot 结构分析


  uboot 源码分析
    cpu/arm920t/start.S

*/


/*
  https://edu.51cto.com/course/2796.html
  从零写Bootloader及移植uboot
*/
